class SearchItem {
  final int id;
  final String type;
  final String abstract;

  SearchItem({
    this.id,
    this.type,
    this.abstract,
  });

  factory SearchItem.init(Map<String, dynamic> json) {
    return SearchItem(
      id: json['id'],
      type: json['type'],
      abstract: json['abstracttest'],
    );
  }
}

List<SearchItem> SearchListModel = [
  new SearchItem.init({
    "id": 1,
    'type': 'post',
    "abstract": 'xhsua小红书啊哈叙述小爱鼠雪花砂虚函数新华社向啊消化后续哈丶啊哈想haul的话舞选手下端午过后选西安奥斯卡想啊 大厦想',
  }),
  new SearchItem.init({
    "id": 2,
    'type': 'post',
    "abstract": '摘要',
  }),
  new SearchItem.init({
    "id": 1,
    'type': 'shop',
    "abstract": '摘要',
  }),
  new SearchItem.init({
    "id": 2,
    'type': 'shop',
    "abstract": '摘要',
  }),
  new SearchItem.init({
    "id": 1,
    'type': 'prescription',
    "abstract": '摘要',
  }),
  new SearchItem.init({
    "id": 2,
    'type': 'prescription',
    "abstract": '摘要',
  }),
];